package com.ipartek.pruebas.capitulo12;

public class PruebaObjetoGraficoP1 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		CuadradoP1 cu = new CuadradoP1(20, 10);
		LineaP1 l = new LineaP1(30, 20);
		CirculoP1 ci = new CirculoP1(10, 45);
		
		cu.dibujar();
		l.dibujar();
		ci.dibujar();
		
		System.out.println(cu.x +", "+cu.y);
		cu.moverA(30, 40);
		System.out.println(cu.x +", "+cu.y);
		
		

	}

}
